<nav>
      <?php include_partial('menu');?>     
</nav>
<article>
    <h1 id="titulobeca">LISTADO DE UNIVERSIDADES</h1>

<form method="POST" action='<?php echo url_for('becas/guardar');?>'>
<table class="table1">
  <thead>
    <tr>  
      <th></th>          
      <th>Id</th>
      <th>Nombre</th>      
      <th>pais_id</th>
      <th>region_id</th>
      <th>en_mora</th>
    </tr>
  </thead>  
  <tbody>
      <div id="contenedor"></div>  
    <?php //foreach ($universidades = $nuevo as $universidad):?>   
    <?php foreach ($nuevo->getResults() as $universidad): ?>
    <tr>  
      <td>         
          <input id="uni" type='checkbox' name='universidades[]' value='<?php echo $universidad->getId()?>'/>          
      </td>
      <td><?php echo $universidad->getId() ?></td>
      <td><?php echo $universidad->getNombre() ?></td>
      <td><?php echo $universidad->getPais()->getNombre() ?></td>
      <td><?php echo $universidad->getRegion()->getNombre() ?></td>
      <td><?php echo $universidad->getEnMora() ?></td>     
      
    </tr>
    </form>
    <?php endforeach; ?>
  </tbody>
  <tfoot>
  <tr>            
   <td></td>
   <td></td>
   <td></td>
   <td></td>   
   <td></td>   
   <td><input type="submit" value="Guardar" /></td>
   <td></td>
   <td></td>   
   <td></td>   
   <td><?php include_partial('paginacion', array('nuevo'=> $nuevo)) ?></td>
  </tr>  
  </tfoot>
  </table>
</form>
</article>